//
//  VSFindGiftWaterLayout.h
//  UI项目2.0
//
//  Created by dlios on 15/7/16.
//  Copyright (c) 2015年 星际科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VSFrameGrand.h"

@protocol WaterLayoutDelegate <NSObject>

@required
- (CGSize)collectionView:( UICollectionView *)collectionView
                  layout:( UICollectionViewLayout *)collectionViewLayout
  sizeForItemAtIndexPath:( NSIndexPath *)indexPath;




@end

@interface VSFindGiftWaterLayout : UICollectionViewLayout

@property (nonatomic, assign)  id<WaterLayoutDelegate> delegate;

@property (nonatomic, assign) NSInteger                         lineCount;
@property (nonatomic, assign) CGFloat                           verticalSpacing;
@property (nonatomic, assign) CGFloat                           horizontalSpacing;
@property (nonatomic, assign) UIEdgeInsets                      sectionInset;

@end
